﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

using Httlgd.DataCenter.Services.Core;
using Httlgd.DataCenter.Services.Sms.DataTransferObject;

namespace Httlgd.DataCenter.Services.Sms.ServiceLibrary
{
    [ServiceContract(Namespace = "Httlgd.DataCenter.Services.Sms.ServiceLibrary")]
    public interface ISermonService
    {
        [OperationContract(Name = "RetrieveAllSermon")]
        List<SermonDTO> RetrieveAllSermon();

        [OperationContract(Name = "RetrieveSermon")]
        SermonDTO RetrieveSermon(int id);

        [OperationContract(Name = "SearchSermon")]
        DataTransferObjectCollectionBase<SermonDTO> SearchSermon(SermonSearchParameterDTO param);

        [OperationContract(Name = "SaveSermon")]
        SermonDTO SaveSermon(SermonDTO sermon);


        [OperationContract(Name = "DeleteSermon")]
        void DeleteSermon(int id);
    }
}
